/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package net.flowas.genericcrud.rest;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;


/**
 * REST Web Service.
 *
 * @author Administrator
 */
//@Api(tags = "Report datas")
public class ReportResource {

  @GET
  @Path("/normal/{modelType}")
  @Produces(MediaType.APPLICATION_JSON)
  // @Consumes("application/json")
  public Object query(@PathParam(CrudConstant.MODEL_TYPE) String modelType) {
    List<Map<String, Object>> conditions = new ArrayList<>();
    // if (entity != null) {
    // conditions = convertJson2Map(entity);
    // }
    // em.
    return conditions;
  }
}
